#include "donothingfactory.h"
#include "donothingwidget.h"

DoNothingFactory::DoNothingFactory(QObject *parent) :
        IPluginFactory(QString("DoNothingGadget"),tr("Choose Gadget..."),parent)
{
}

DoNothingFactory::~DoNothingFactory()
{

}

IPluginGadget* DoNothingFactory::createGadget(QWidget *parent) {
    DoNothingWidget* gadgetWidget = new DoNothingWidget(parent);
    return new DoNothingGadget(QString("DoNothingGadget"), gadgetWidget, parent);
}
